-- GENERATED SPELL FOR [Pustulent Colossus] --


function spell0_32482(pUnit, Event) --@Knockback,Self--
pUnit:FullCastSpellOnTarget(28405,pUnit)
pUnit:RegisterEvent('Sorts_32482', 553, 1)
end

function spell1_32482(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(63546,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32482', 642, 1)
end

function Sorts_32482(pUnit, Event)
local choix_sorts_32482 = math.random(0, 1)
if choix_sorts_32482 == 0 then
pUnit:RegisterEvent('spell0_32482', 1, 1)
end
if choix_sorts_32482 == 1 then
pUnit:RegisterEvent('spell1_32482', 1, 1)
end
end

function mob32482_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32482', math.random(1500, 3000), 1)
end

function mob32482_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32482_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32482_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32482, 1, 'mob32482_Action')
RegisterUnitEvent(32482, 2, 'mob32482_Leave')
RegisterUnitEvent(32482, 3, 'mob32482_Kill')
RegisterUnitEvent(32482, 4, 'mob32482_Die')
